const accountRouter = {
	path: "/account",
	name: "account",
	meta: {
		title: "menu.account",
		icon: "icon-zhanghaoguanli",
	},
	redirect: "/account/systemAccount",
	children: [
		{
			path: "systemAccount",
			component: () => import("@/views/account/SystemAccount/index.vue"),
			name: "SystemAccount",
			meta: {
				title: "menu.account.systemAccount",
				roles: ["user"],
			},
		},
		{
			path: "frockAccount",
			component: () => import("@/views/account/FrockAccount/index.vue"),
			name: "FrockAccount",
			meta: {
				title: "menu.account.frockAccount",
				roles: ["test"],
			},
		},
	],
};

export default accountRouter;
